package com.woniuxy.carrental.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    //主键
    private Integer uid;
    //姓名
    private String uname;
    //年龄
    private Integer age;
    //电话
    private String phone;
    //身份证
    private String idcard;
    //邮箱
    private String email;
    //是否拉黑的状态
    private boolean ublacklist;
    //登录名
    private String loginname;
    //密码
    private String password;
    //一个用户对应一信用表
    private Credit credit;

}
